﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace SqlScriptVault.Services
{
    interface IFileService
    {
        string OpenFileDialog(string extension, string filter);

        string SaveFileDialog(string extension, string filter);

        bool Exists(string fileName);

        T LoadFile<T>(string fileName);

        void SaveFile<T>(string fileName, T objectToSave);
    }
}
